import request from '@/utils/request'
export const login = data => request({
  url: '/sys/login',
  method: 'post',
  data
})

export const getUserInfoApi = () => request({
  method: 'post',
  url: '/sys/profile'
})

export const getBaseUserInfoApi = id => request({
  url: `/sys/user/${id}`
})

